<extend name="$_admin_public_layout"/>

<block name="style">
    <include file="./Application/Common/util/lyf/builder/style.html"/>
</block>

<block name="main">
    <div class="panel builder formbuilder-box">
        <div class="panel-body">
            <form action="{:url('')}" method="post" class="form form-builder">
                <ul class="nav-tabs nav">
                    <li class="active"><a href="#tab1" data-toggle="tab">部门信息</a></li>
                    <neq name="info.id" value="1">
                        <li><a href="#tab2" data-toggle="tab">系统权限</a></li>
                    </neq>
                </ul>
                <div class="tab-content">
                    <div id="tab1" class="tab-pane active">
                        <div class="builder-container">
                            <div class="row">
                                <div class="col-xs-12">
                                    <div class="builder-table">
                                        <div class="panel panel-default table-responsive">
                                            <table class="table table-bordered table-striped table-hover">
                                                <thead>
                                                <tr>
                                                    <th class="list-ids" width="30">
                                                        <div class="checkbox-inline lyui-control lyui-checkbox m-l-xs">
                                                            <label class="checkbox-label">
                                                                <input type="checkbox" class="check-all">
                                                                <span class="lyui-control-indicator"></span>
                                                            </label>
                                                        </div>
                                                    </th>
                                                    <th width="auto">
                                                        UID
                                                    </th>
                                                    <th width="auto">
                                                        头像
                                                    </th>
                                                    <th width="auto">
                                                        昵称
                                                    </th>
                                                    <th width="auto">
                                                        用户名
                                                    </th>
                                                    <th width="auto">
                                                        邮箱
                                                    </th>
                                                    <th width="auto">
                                                        手机号
                                                    </th>
                                                    <th width="auto">
                                                        注册时间
                                                    </th>
                                                    <th width="auto">
                                                        状态
                                                    </th>
                                                    <th width="auto">
                                                        操作
                                                    </th>
                                                </tr>
                                                </thead>
                                                <tbody>
                                                <tr>
                                                    <td>
                                                        <div class="checkbox-inline lyui-control lyui-checkbox m-l-xs">
                                                            <label class="checkbox-label">
                                                                <input class="ids" type="checkbox" value="144"
                                                                       name="ids[]">
                                                                <span class="lyui-control-indicator"></span>
                                                            </label>
                                                        </div>
                                                    </td>
                                                    <td>
                                                        144
                                                    </td>
                                                    <td>
                                                        <img class="picture" src=""></td>
                                                    <td>
                                                        运城市委网信办
                                                    </td>
                                                    <td>
                                                        ycswwxb
                                                    </td>
                                                    <td>
                                                    </td>
                                                    <td>
                                                    </td>
                                                    <td>
                                                        2019-11-01 09:25
                                                    </td>
                                                    <td>
                                                        <i class="fa fa-check text-success"></i></td>
                                                    <td>
                                                        <a type="edit" name="edit" title="编辑"
                                                           class="label label-primary-outline label-pill"
                                                           href="/admin.php?s=/admin/user/edit/id/144.html">编辑</a>
                                                        <a name="forbid" title="禁用"
                                                           class="label label-warning-outline label-pill ajax-get confirm"
                                                           href="/admin.php?s=/admin/user/setstatus/status/forbid/ids/144/model/User.html">禁用</a>
                                                        <a name="recycle" title="回收"
                                                           class="label label-danger-outline label-pill ajax-get confirm"
                                                           href="/admin.php?s=/admin/user/setstatus/status/recycle/ids/144/model/User.html">回收</a>
                                                    </td>
                                                </tr>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <neq name="info.id" value="1">
                        <div id="tab2" class="tab-pane">
                            123
                        </div>
                    </neq>
                </div>
                <div class="form-group"></div>
                <div class="form-group">
                    <input type="hidden" name="id" value="{$info.id|default=''}">
                    <button style="width: 120px;" class="btn btn-primary submit ajax-post" type="submit"
                            target-form="form">确定
                    </button>
                    <button style="width: 120px;" class="btn btn-danger return"
                            onclick="javascript:history.back(-1);return false;">取消
                    </button>
                </div>
            </form>
        </div>
    </div>
</block>
